home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / DIKUMUD.ZIP / HASH.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-30  |  430 b   |  23 lines

  1. /*
  2.   SillyMUD Distribution V1.1b             (c) 1993 SillyMUD Developement
  3.  
  4.   See license.doc for distribution terms.   SillyMUD is based on DIKUMUD
  5. */
  6.  
  7. struct hash_link {
  8.   int    key;
  9.   struct hash_link *next;
  10.   void    *data;
  11. };
  12.  
  13. struct hash_header {
  14.   int    rec_size;
  15.   int    table_size;
  16.   int    *keylist, klistsize, klistlen; /* this is really lame,
  17.                       AMAZINGLY lame */
  18.   struct hash_link    **buckets;
  19. };
  20.  
  21.  
  22. #define WORLD_SIZE 30000
  23.